package cn.itsource.hrm.feign.client;

import cn.itsource.hrm.feign.fallback.CourseDocFallbackFactory;
import cn.itsource.hrm.to.CourseDocTO;
import cn.itsource.hrm.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "hrm-search-server",fallbackFactory = CourseDocFallbackFactory.class)
public interface CourseDocClient {

    @RequestMapping("/es/publish")
    public AjaxResult onLineCourse(CourseDocTO courseTO);
}
